
README for Media Effects Revisited: Corporate Scandals, Partisan Narratives and Attitudes Toward Cryptocurrency Regulation


Authors: Pepper Culpepper, Taeku Lee, Ryan Shandler

All analyses were carried out using RStudio Version 2025.09.2+418 on macOS Sonoma 14.8.1. R Version is 4.5.2. The following R packages (and their versions) are used: ggplot2 (4.0.0), psych (2.5.6), ltm (1.2-0), Rmisc (1.5.1), dplyr (1.1.4), readr (2.1.5), janitor (2.2.1), stargazer (5.2.3), tidyr (1.3.1), MatchIt (4.7.2), purrr (1.0.4), broom (1.0.8), lmtest (0.9-40), pdftools (3.6.0), tm (0.7-16), scales (1.4.0).

R files in each section below should be run in the order they are listed. 
 - Lines 1 through 57 load and clean the data.
 - Lines 60 through 524 replicate the analyses, figures, and tables for the observational study in the order in which they appear. 
 - Lines 528 through 573 replicate the analyses, figures, and tables for the experimental study in the order in which they appear. 
 - Lines 576 through 1130 run the analyses, figures and tables for all online appendix

Source dataset: 
 - Observational dataset # 1 --> FTX_Observational_Dataset_1.RData
 - Observational dataset # 2 --> FTX_Observational_Dataset_2.RData
 - Experimental dataset --> FTX_Experimental_Datasets.RData
 - Raw newspaper articles for Figure 4 Analysis: nytimes_2.pdf + msnbc_articles.pdf + foxnews_articles_chunk1.pdf + wsj_articles_chunk1.pdf

Analysis code: Replication Code.R

